package org.truenewx.tnxjee.core.enums;

import java.util.Locale;
import java.util.function.Consumer;

/**
 * 从配置资源文件中获取枚举类型的解析器
 *
 * @author jianglei
 */
public interface EnumTypeParser {

    EnumType parse(Locale locale, String type, String subType);

    void forEach(Locale locale, Consumer<EnumType> consumer);

}
